Skip to content

Comment Rules

Comment layout rules control the line and block comments placement.

layoutrules-51

Comments presence

SettingDescription
Strip commentsThe rule controls whether the comments to be removed from the script.

Last comment in statement placement

SettingDescription
Place on a newlineThe rule controls whether the last comment in a statement to be placed on a newline.

Multiline block comment placement

SettingDescription
Place on a newlineThe rule controls whether the multiline block comments to be placed on a newline.

Block comment starting with ’/**’ placement

SettingDescription
Place on a newlineThe rule controls if block comments starting with ’/**’ to be placed on a newline.

Line comment starting with ’---’ placement

SettingDescription
Place on a newlineThe rule controls if block comments starting with ’---’ to be placed on a newline.