To comment out multiple lines in JSX, you'd use ________.

  • /* ... */
  • // ...
  • /** ... */
To comment out multiple lines in JSX, you should use the syntax /* ... */. This is a common JavaScript syntax for multi-line comments, and it works the same way in JSX. Using // ... will only comment out a single line, and the other options are not valid for commenting out multiple lines in JSX.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *