how to add comments for the code react js code example
Example 1: how to add comment in react js
{/* A JSX comment */}
Example 2: multiline comment in react
{/*
Multi
line
comment
*/}
{/* A JSX comment */}
{/*
Multi
line
comment
*/}