Hi!,
The comments in JSX could actually have 2 ways. If you want to use a comment outside a JSX section use //comment or /*comment*/, but if you want to use comments inside the JSX code use this instead: {/*comment*/}.
Here is an example:
import something from 'example'
//Comment here
/*Other long
* Comment here
*/
const JSX = (
<div>
{/* I'm a comment */}
Hey there
</div>
)