We currently don’t have an explicit code style for the CSS comments in the HTML & CSS Code Style.
The most common style is the single line comment (eg /* this is a comment */
).
Three other less common comment style can be found from time to time.
Inline with two opening stars:
/** This is a comment */
Multilines:
/*
This is a comment
*/
Multilines + two opening stars:
/**
This is a comment
*/
I propose to avoid the “two opening stars” form.
From there I can think of two alternatives.
Alternative 1
Stay with the inline form, even for multilines comments.
For instance:
/* This is a ... */
/* ... two lines comment. */
Alternative 2
Use the multiline form for multilines comments.
For instance:
/* This is a single line comment */
/*
This is a ...
... two lines comment
*/
/*
This should be on a single line.
*/
WDYT?