In JSX, text that looks like comments (// or /* */) is rendered as literal text unless it’s wrapped in braces.
This can lead to confusion where developers think they’re adding comments, but the text actually appears in the rendered output.
To add actual comments in JSX, wrap them in braces: {/* comment */} or {// comment}.
If you intentionally want to display text that looks like comments (for example, in a code tutorial or documentation site), you may want to disable this rule for those specific files.