#Javascript One-line comment Create a one-line comment with //. // single line comment // Before, it's processed by code, // After that, it's processed by comments. for example var jb = 'hi'; // Comment var jb ='hi'; is recognized as code. Multi-line comment If you want to comment out multiple lines, enclose them in / * and * /. /* Comment 1 Comment 2 */ It may be easier to read and may look li..