In NetBeans, for javascript and php files/code, you can easily comment lines of code by just selecting them and then clicking on the comment button as shown in this picture.
Is possible to perform the same action for HTML code? If yes, how?
To comment out html code (and javascript/php code), select the section of code you want to comment out and use the Ctrl + Shift + C (Cmd + Shift + C for Mac) keyboard shortcut. For html code this adds the <!-- -->
tags around your code.
To uncomment, select the commented code and use the same keyboard shortcut. This will remove the comment tags.