Multi-line comments in JavaScript start with /* and end with */, with all text between these delimiters ignored by JavaScript. The following example uses a multi-line comment, or comment block, to explain the code.
Example
/* |
Single-line comments are the most commonly employed form. Block comments, on the other hand, find frequent use in formal documentation. |