Check out example codes for "how do i comment in htmle". It will help you in understanding the concepts better.

Code Example 1

<div>
<p>This text is visible. Check the source code for multi-line comment.</p>
<!--  
Hello, world! I am a comment and I am
displayed in multiple lines!
--> 
</div>

Learn ReactJs, React Native from akashmittal.com