jsx-no-comment-text-nodes

JavaScript comments inside text nodes are rendered as plain text in JSX. This is often unexpected.

Invalid:

<div>// comment</div>
<div>/* comment */</div>

Valid:

<div>{/* comment */}</div>;