/* Single comment */ line-height: 2; /* Multi line comment */ font-style: italic;
A CSS comment is used to add explanatory notes to the code or to prevent the browser from interpreting specific parts of the style sheet. By design, comments have no effect on the layout of a document.
Comments can be placed wherever white space is allowed within a style sheet. They can be used on a single line, or traverse multiple lines.