Skip to content

Comment Rules

Comment layout rules control the line and block comments placement.

layoutrules-51

Comments presence

Setting Description
Strip comments The rule controls whether the comments to be removed from the script.

Last comment in statement placement

Setting Description
Place on a newline The rule controls whether the last comment in a statement to be placed on a newline.

Multiline block comment placement

Setting Description
Place on a newline The rule controls whether the multiline block comments to be placed on a newline.

Block comment starting with ‘/**’ placement

Setting Description
Place on a newline The rule controls if block comments starting with ‘/**’ to be placed on a newline.

Line comment starting with ‘—’ placement

Setting Description
Place on a newline The rule controls if block comments starting with ‘—’ to be placed on a newline.