Check out example codes for "comments visual studio code html". It will help you in understanding the concepts better.

Code Example 1

Ctrl + Shift + A

Code Example 2

New empty HTML comment wherever:  Shift + Alt + A

Learn ReactJs, React Native from akashmittal.com