Adding Comments in JSX

**Tell us what's happening:**  How to comment in JSX?



**Your code so far**
      
jsx

const JSX = (
<div> {/* This is a comment */}
  <h1>This is a block of JSX</h1>
  <p>Here's a subtitle</p>
</div>
);




**Your browser information:**

User Agent is: <code>Mozilla/5.0 (Windows NT 6.2; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36</code>.

**Challenge:** Add Comments in JSX

**Link to the challenge:**
https://www.freecodecamp.org/learn/front-end-libraries/react/add-comments-in-jsx

A lot of times, for readability, you’d put your comment or comment block on its own line with the code the comment refers then following on the next lines.