### How do you write comments inside a JSX tree in React?

#### Answer

Comments must be wrapped inside curly braces `{}` and use the `/* */` syntax.

```jsx
const tree = (
  <div>
    {/* Comment */}
    <p>Text</p>
  </div>
)
```

<!-- tags: (react) -->

<!-- expertise: (0) -->
