Check out example codes for "how to hide code in html". It will help you in understanding the concepts better.

Code Example 1

<!DOCTYPE html>
<html>
<body>

<!-- This is a comment -->
<p>This is a paragraph.</p>
<!-- Comments are not displayed in the browser -->

</body>
</html>

Code Example 2

 <input type="hidden" id="custId" name="custId" 
  value="3487">

Learn ReactJs, React Native from akashmittal.com