CSS Comments

CSS comments are wrapped in /* ... */ and can span one or many lines. The browser ignores everything inside them — use them to explain why a rule exists, or to temporarily disable a declaration while debugging.

CSS
/* This centers the hero heading */
.hero h1 {
  text-align: center;
}

p {
  /* color: red; */   /* disabled while testing */
  color: #1f2937;
}

/*
  Multi-line comments are useful for
  section headers in a large stylesheet.
*/

There's no single-line // comment syntax in CSS (unlike JavaScript) — always use /* ... */.