Comment Heading Styles

Comment heading styles are very useful for breaking up large chunks of code with high-level comments.

Comment Heading styles are specified with a //n comment, where n is a number between 1 and 4. For example:

//1 This is a Heading 1 comment
//2 This is a Heading 2 comment

When the comment displays, the //n at the beginning of the comment is hidden, unless the cursor is on that line.


If the cursor is on the line, then the //n will appear so that you can edit it.