--- title: Add Comments in JSX --- ## Add Comments in JSX You can comment as you used to do with code blocks in Javascript `/* some JS code */` but they need to wrapped by curly braces to add comments in JSX: For example: * Single-line comment: ```jsx {/*

Hanoi University of Science

*/} ``` * Multi-line comments: ```jsx {/*

Hanoi University of Science

Falculty of Mathematics, Mechanics and Informatics

*/} ``` Notice: You can't use HTML comment in JSX like this: ```html ```