Whats the meaning of commented out?

whats the meaning of commented out?

The comment tag is used to insert comments in the source code. Comments are not displayed in the browsers.

You can use comments to explain your code, which can help you when you edit the source code at a later date. This is especially useful if you have a lot of code.

Refer to this article:

1 Like

Comments are used for your own sake. They are not read by the browser so only someone viewing your code can see it. It will help you and anyone else reading your code be able to read what you are doing with your code more clearly.

You can also use comments to disable code, like this:

// var a = 1; // this code will not run
// var b = 2; // this will not run either
/* none of this runs either...
for (let i = 0; i < 10; i++) {