How Should I Properly Make Comment Backlinks?

I was wondering about a number of things regarding commenting.

I was thinking what counts when making a comment backlink. Is it the space we fill in our website url that counts or when we comment and add the url of our website within the comment?

for example: what a nice post you got there, but you should visit to get extra functions.

And does the website link in the comment has to be or just