Comments

Use the comment notation to attach comments to statements, batches, and stored procedures. Comments are not executed.

You can insert a comment on a line by itself or at the end of a command line. Two comment styles are available: the “slash-asterisk” style:

/* text of comment */

and the “double-hyphen” style:

-- text of comment

You cannot use the double hyphen style for multi-line comments.

There is no maximum length for comments.