Check out example codes for "vscode comment block of code html". It will help you in understanding the concepts better.

Code Example 1

Ctrl + /

Code Example 2


Code Example 3

********** For Mac **************
-> How to comment a block?
Command + K + C

-> How to uncomment a block?
Command + K + U

Learn ReactJs, React Native from