In Permissions (Space or Global), you can make sure Add Comments and Remove Comments is not checked for the groups involved. You can turn it off for the confluence-users group (or Anonymous) if do not want anyone to comment.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.