# Comment

*noun*

say it: **“KOM-ent”** **/ˈkɑmɛnt/**

A note in your code that the computer skips. In CSS it starts with /\* and ends with \*/, and you use it to explain a rule or switch one off for a moment.

## How do you write a **comment** in CSS?

A **comment** is a note for people reading the code. CSS ignores anything between `/*` and `*/`.

```css
/* Brand colors for the checkout page */
.checkout-button { background: #0a7; }
```

## In a sentence

- “I left a **comment** above the rule saying the orange matches the taco truck's sign.”

Level: Novice · [More CSS terms at this level](https://www.ask-codey.com/glossary?category=css&level=1)

Updated: November 9, 2026

## In other subjects

- [Comment in C#](https://www.ask-codey.com/glossary/comment-c-sharp)
- [Comment in Java](https://www.ask-codey.com/glossary/comment-java)
- [Comment in JavaScript](https://www.ask-codey.com/glossary/comment-javascript)
- [Comment in PowerShell](https://www.ask-codey.com/glossary/comment-powershell)
- [Comment in Python](https://www.ask-codey.com/glossary/comment)
- [Comment in Unix](https://www.ask-codey.com/glossary/comment-unix)

Source: https://www.ask-codey.com/glossary/comment-software-development
