C-style multi line comment
From Coderwiki
More actions
C-style comments can be either single-line or multi-line
Multi-line comments begin with a forward-slash then an asterisk /*.
The comment ends with an asterisk then a forward slash */.
Example of a C-style single-line comment
edit edit source/*
This is a multi-line comment
They start with a / then a * ...
... and end with a * then a /
*/
/* it's often convention to start each new line in
* a multi-line comment with an asterisk (*) to
* maintain formatting. */
Doc comments
edit edit sourceSee: Doc comment