If you want to hide your Steam profile link in comments for any reason, then follow next steps:
Go to your profile page. 

Enable the "Do not show the profile link in trades" option.
Save changes.