how to comment in javascript

//This is a javascript single line comment

/*
And here is a
multiline comment
*/

4
4
Awgiedawgie 440220 points

                                    //This does not effect the code.
var something = "But this does effect the code!";

4 (4 Votes)
0
4
3
Awgiedawgie 440220 points

                                    <script type="text/javascript">
<!--
document.write("I have multi-line comments!");
/*document.write("You can't see this!");
document.write("You can't see this!");
document.write("You can't see this!");
document.write("You can't see this!");
document.write("You can't see this!");
document.write("You can't see this!");
document.write("You can't see this!");*/
//-->
</script>

4 (3 Votes)
0
4
1
Rubixphys12 15320 points

                                    // single line comment 

/* multiline comemnt 
line 2
line 3
line 4 */

4 (1 Votes)
0
3
1
Awgiedawgie 440220 points

                                    /* this is a javascript comment
that is multi lines */
// This is a single line comment

3 (1 Votes)
0
3.88
8
Lionel Aguero 33605 points

                                    // Javascript comment single line
/* Javascript comment 
	multiline */

/* CSS comment 
	any line */

<!-- HTML comment
 	any line -->

3.88 (8 Votes)
0
Are there any code examples left?
Create a Free Account
Unlock the power of data and AI by diving into Python, ChatGPT, SQL, Power BI, and beyond.
Sign up
Develop soft skills on BrainApps
Complete the IQ Test
Relative searches
how to add a comment in js comment js code how to comment in js code js comment <!-- --> comment tag in js javascript comment format comments box javascript comment elements in js how to block comment is js js how to write comments coments in js @'s in comments js what are the @'s for in comments js comments block js how to comment code in javascript comment block code javascript How will you add a comment in javascrpt How will you add a comment in js? javascript code comment converntionb How will you add a comment? js How will you add a comment? in js add comments in javascript //// comment// in js how to make good comments javascript js section comment javascript method comments What is the correct syntax for adding comments in JavaScript? * 1 point <!–This is a comment–&gt //This is a comment –This is a comment **This is a comment** comment box javascript javascript html in comment adding comment in js js function commenting shortcut to make comment in javascript comment is js comments in jsc javascript paramter comment how to get the elements to turn to comment in js best way to comment javascript code comment is javascript how to make comment in javascript js adding comment how to add comment with js add function comment javascript comment function javascript properly commenting out code in javascri[pt kavascript comment how to comment code properly javascript JS how do I comment codes at ones comment javascript in comment function in js comment in js js commenting comments for functions in js commenting js block comments in javascript how to properly comment function in js how to comment inJS JS how to comment code neatly comment out a line in javascript javascript make comment for function comments javascropt js function comments HOW TO COMMENT OUT IN javascript FILE make paragraph comment in javascript javscript comment how to add comments for a function js comment in javascropt js description comment comment syntax in javascript how to comment on js what is it called to comment out using /**/ in javascript js help comments how to comment function code in javascript write comments in javascript javascript code comment format js how to comment comment for javascript how to comment out code js Describe JavaScript Comments. write comment for javascript function add comment to a function js comment on js comment coder en js comment in js= javasxript comments javascript function to make comments programming javascript using comments or not comment in a JavaScript javascript coments js function description comment comment javascript code execute javascript in comments how to acreate a comment section with javascript creating a comment section with JavaScript how to add a comment function in js how do we write comments in JavaScript ? writing good comments in javascript add comment functionality js how to make a comment section in javascript how to create comments in javascript how to do comment in javascript js function comment standard how to give comment in javascript how to comment out in javascript commenting javascript code how to properly comment in javascript comments i js javascrupt comments how to properly comment code in javascript javascript method comment how do we comment javascript make comments in javascript comment javascript function how to put comments in javascript javascript how to comment out comment a javascript inside script comentar javascript comment in javascript functions comment on javascript functions hhow to comment js adding comments in js add a comment in javascript html javascript comment comments for method js How to comment is js write html comment from javascript write html comment javascript commenti javascript best way to comment code javascript correct javascript comment syntax how to comment javascript properly jss comment formatted comment javascript '#' is used to indicate comments in JavaScript * javascript best way to comment functions comment out code in javascript how to comment in java script html comment out javascript JavaScript statement comments funniest javascript comments How to write comments in JavaScript? javascript code comments how to write comments in js properly coment js script coment js Add comments to methods in js how to write comments in js for function how to write comments in js adding comment to js commenting out block of code in js standard comment example js comment example js comment statement in js javascript comment symbol comment box in javascript symbol is used for comments in Javascript javascript coment block comment in js javascript standard comments how to take out all the comments in the JavaScript js comment standard how to comment code in js correct way of commenting javascript comments on javascript how to make a comment in js comment box javascript code how to put comment in javascript create comments in javascript comment a section js comment out in javascript comment out statement in javascript how to do comments in javascript comments inm jaavscript js comments with @ js where to put function comment js where to put comment how to comment out code in javascript writing comments in javascript javascript function comment javascript document comment nice comments in js code coments javascript how to comment something out js js function comment commentaar in js use of comments in javascript comment on javascript how to write comment in javascript java script comment Which symbol is used to specify comments in JavaScript? comentar js coment javascript fun comments js how to comment out code javascript how to comment on javascript how to comment in javascript file adding comments in javascript comment line js javascript how to comment how to write comments in javascript js .ext comment javascript doc comment how to add comments javascript w3schools javascript comments comments jsc comments in the javascript commentaar js javascript comment block with * javascript.info comments using @ in comments of Js code comment line is js commenting in js how to comment the javascript code javascript comment code how to program leave a comment in a website with javascript how to program leave a comment with javascript long comment in js js code comments interactive js interactive comments function comment js how to make comments in js description return javascript comment function comment javascript javascript section comment javascript function definition comments js comment syntax function js comment js comment out one line <? comments out js value javascript comment tag javascript comment line javascript commenting system javascript comment documentation comment faire commenter code javascript special javascirpt comments how to comment in js javascript method to display comments how to comment out code in js js comment code reference adding comments javascript real time comment section using javascript designed comments on javascript how to comment js comment within javascript js w3c comment /** comment */ javascript how to coment in js @para, javascript comment Which line would be used to comment JavaScript code? js code comments javascript comment syntax commenting code in javascript Which one of the following symbol is used for creating comments in the javascript: single comment in js javascript comment "@example" javascript comment @example javascript comment example to do comment in javascript Which symbol is used for comments in Javascript? * how to comment a code in javascript how can i put in comment a example my function javascript comment function js format Comment section JavaScript coments on javascript commenti js js commenting functions how to add comments in javascript javascript comment box convert to javascript comments long comments in js how to comment js script types of comments in js comment block javascript javascript comments @ how to make a comment in javascript where should comments be written in js where to write comment in js comment injs how to comment in js\ comments in javascript code commenting js functions comment in javascvript how to comment out in js function comments javascript commentin javasript javascript comment language how to comment javascript javascript comment functions comment section code javascript javascript comment section easier javascript comment section how to comment a line in js hwo to comment js js commentar comments attack javascript js comments comentar en javascript how to comment whole code in javascript how to get comment on page js put comment in javascript how to comment inside a function in js comment out js code coments js js coment commenting in javascrit cool js comments javascripr comment paragraph comment in js comments javascsript how to make comments in javascript js comment on text which symbol is used for comments in javascript comment functions javascript how to write javascript comments js comemnt javascrip library for comments how to give the comments in javascripts comments js js get html comment how to put comments in js comment stuff out js how to add a comment in javascript how to comment js code commenting on javascript hwo to add comment in js function how to make comment section in javascript javascript comment function how to create comment in js comment of js javascript syntax commenting document using comments in javascript javascript comment javascript comment javascript comment javascript comment javascript comment javascript comment javascript comment javascript comment javascript comment javascript comment javascript comment javascript comment javascript comment javascript comment javascript comment commenti in java script javascript comment add comment to javascript function how to comment with javascript Correct Statement of Comment in Javascript? how to code comment javascript how to put comment in js purpose of comment in js add comment javascript js coments comment in js how to comment javascript code how to properly comment javascript code how to comment out js how can i right in javascript comment java script comment block set something as comment javascript long comment on javascript how do i comment out in js how to comment in jsc comment in javasc commentaar javascript how to describe a function in javascript with comments how to comment function descriptions js javascript comment /** */ javascirp comments multi line comment js how to bulk add comments on the start of each js file multiplle line comment in javascript html comments in side java script what is Javascript comments comment out JS single or multi line comment in js js comment system comments on function javascript comment json command for notes javasxript how to comment in a mini file js how can you add a comment in a JavaScript jquery comment line comment on a function in js single line paragraph code in js single line paragraph in js comment code in javascript js comments w3school havascript comments jjavascript comment comment multiple line javascript Different ways to write comments in js can you comment out just the first part of a line in javascript js multiline comments how to comment out a line in javascript what is noprotect comment in javascript es6 js file comment js how to comment js how to comment multiple line in js comment multiple lines js in html javascrtio make multiline comment one string js mulitiline comment embed javascript comments node.js comments Is comment a node how to write notes in js how to create multi line comments in javascript There are two ways to add comments to JavaScript: block comments and line comments. Provide examples of both ways. node.js comment code convert code to single line javascript What is the correct syntax for adding comments in JavaScript? javascript <-- how to use comment in javascript commenting out javascript comment block js js open commnets close comments big js comment javascript comment comment javascrtips multi line commend code js how to write notes javascript comment in javascript code node js multiline comment coment in js comment pragrpah js package js comment out code what are java script comments uncomment js why comment "//-->" in javascript how to add comments in javascrippt how to make comment in js how to make a note with comments javascript inline comment js commenting functions javascript javascript long comments alert comment js Which of the below is not a way to comment code in JavaScript bulk comment js to comment multiples lines of JS with // writing document comments in js writing comments in js multi line comment in javascriopt /* **/ js javascript comment style commetns javascript javascript comment and html commenting n js how do we add comment on javascript how do we add comment on javasc multi line comment javascript how to make a comment system in javascript fund comments in js comment in javascript html comments in java script add a comment to js file example out(text) in js comment on comment nodejs comments not working javscript java scrip comment how to link in the comments section in javascript javascript line comment trimmed how to comment with js comment out part of a line in js How can you add a comment in a JavaScript? block comments js comment block how to add comments js omments in js comments in javasx coments in javascript Java script support how many styles comment? * how to comment out multiple lines js multiline comment js commenting out code in js comants injs comment in js file Note in js js comment function how to comment fast js javascript multi line comment comment out block of code javascript fast commentign style js Which of the following symbol is used to give single line comment in JavaScript Which symbol is used for comments in Javascript? js multiple comment how to wriet comments in javascript comments in html and javascript be done with comments in javascript can be done with javsacript comments javascript block comments block out javascript javascript comment system comment code javascript javascript report comment button // commnet js javascript lines to include in html comment out large section javascript comment out java script javascript function comments commentary javascript commnet in java script js warning comment how to comment a file in js javascript: add comment to a list how to comment on js page how to make a comment in java script types of comments in code JS commenting in .js file javacript comments comments with @ js js strong comments show more comment using javascript multiline comments js js add comment for text multiline commenting js make comment in javascript how to uncomment js comment out section javascript js comment bock create comments webpage js create comments js how to comment in javascript code online javascript comment comment out javascript multiple lines node comment how to comment all lines together in node standard javascript comments how to doc comment your codi in js js @example comment comment sign in java script commenting in node js code to add notes in javascript If you wanted to create a multiple line comment in javaScript you would use _________ to start and _______ to end the comment. Group of answer choices comment text in javascript how do i comment with javascript how do you comment out things in js comment html using javascript how do you add a comment i javascript javascript commants section comment js js code comment code out a block of javascript javacript comment how to put javascript in comment comment in node js comment element js cpmments in js how to add note in js js comment documentation how to keep // in javascript from being commented out how to add comment section javascript how to put a comment in javascript massive comment js hoow to commeent in js how to create comments in embedded javascript how to block out text in js? how to comment out text in js? notation for coments javascript big comment js js in comment bock comment javascript how to format comments javascript how to make multiple note lines in js turn code into comment js comment on node js comment isnide string javascript uncomment javascript nodejs multiple commnet how to put in comment a line javascript js create comment how to make a comment in javascript code comment code out in javascript commet in js js code block vs single line how to insert comment in js how to add comment to javascript js commint how do comment js how to commentin js files What is the correct syntax for adding comments in JavaScript? * 1 point <!–This is a comment–&gt //This is a comment –This is a comment **This is a comment** How to commet in js javascript colorful comments how to use comments in javascript js comment single character javascritpt comment area comments js how do you add a comment in javascript commenting in javascript how to add comment javascript define inputs in javascript comment type comment in javascript what is comment in javascript single line comments jabascript js comment style pass comment js why does express.js comment out php include usage example in javascript comments @example include usage example in javascript comments @usage add usage example javascript comment javascritp block comment comment javascript es6 js files comment how to comment out lines of code js display coments previous next javascript add comment in javascript code for comment in javascript comment vs comment out in javascript how to comment in node js comment a part of code in js commnet out a part of a line in js comment out in .js file comment out in js file mutiline comments javascript js comment section how to coment out button javascript valid comments in javascript comment javascript <!-- nodejs comment comment inside string javascript how do i comment in js javascrip commet Comments within javascript how to comment out javascript block of code block comments in js note comment js jquery script comments how to do comments in jaavascript javascript commnet how to comment angular statements comments on js how to give multiline comment in javascript comment statement in javascript comment out just a word not he whole line in javascript Comments in javascript may begin with the characters // add a variable to comment javascript how to make comment section javascript making comments in javascript javascript multi comment javascript comment element comment i njavascript node.js comment syntax give comment in jquery javascript comment // multiple lines comment js ways to commment in JS . How can we add a comment in a JavaScript file? javascript commenting event functions code of comment using jquery multiple line comments in js comment line in js comment on .js files comment blocks javascript commect in js how to comment full code in js comments in objective javascript how to comment out block of text in javascript comment that has more than one line javascript comment java script long comment format comment a piece of code on event what to comment in node JS? How to comment in node JS? to do coment on a node file js comment multiple lines how to like comment javascript like and comment javascript js comment part /** in js how to comment inside code javascript lots js cooments example of block comments in javascript Commet js mass uncomment javascript javascript comments block comment in code javascript comment out javascirpt javascript colored comments block comment javasc how to create a commented out block in javascript how to comment out on java script how to add block and line comments js comments paragraph in js comments paragrapth in js kind of comment in javascript how to comment thing in javascript how to make comment post javascript comment html with js how to write great comments for javasctip how to add comments to js nodejs comments on comments js add comment comment on string javascript 2 lines comments js best way to write multi line comment javascript javascripyt comment bulk coment in javascript jaascript comment like for each comment javascript javascriptc comments comment section JS how to comment out large chunks of code in javascript to comment a block of code js how to make important comment in javascript how big is the commends javascript comment in block javascript show recent comments javascript @declare javascript comment How can you add a comment in a JavaScript? mcq javascript comment close .js comment js coomment How to comment out sections in js comments more than a line javascript how to write a comment in javascript multiline comments in node js script comment comment.js multipline commentin javscipt multi line comments in javascript comments.js how to create comment in javascript javascript block of comment comment section in javascript add comments in express js javascript commentd comment and reply javascript code multi-line comments in javascript node.js comment example javascript comment mark adding a comment in JS comment a line in javascript javascript multiple comment js code inside style comment javascript @var comment js comment line multiline js comment javascript ! note comment code in es6 comments for jquery how to add comments in javascript code add comments to any file in the system javascript comment header shortcut javascript commet out a block of code javascript how to comment a line in javascript uncommnet in js comments in javascript example code comment in javascript commenting format in javascript comments in node.js comments in javascript are ignored by js comment multiple lines avoid formatting long comment in javascript large comment block js commenting code in javas javascript comment @ javascript comment text out how to create comment section in javascript Create a multi-line comment in JavaScript. how to convert entire code into comment js how to convert code into comment js Which of the following indicates the end of a multiple-line JavaScript comment? javascript comment chunk multi-line comment js mass comment nodejs comment out javascript in html ES6 coments block and line comments javascript nodejs script to fetch comments from code js script to fetch comments from code comment ut javascript comments in javascripts jquery comment how to make a code a comment in java script create comment in javascript cooment in javascript javascript comment section tutorial how to comment in js file how to comment code line js javascript long comment comment out in nodejs javascript comment tag' js multine comment proper multiline comments in js with /(( how to do comment on js file omment block javascript commet outjavascript code js multiline commend how to comment /java Script How to insert a comment that has more than one line in javascript? * Why do we need a comment in javascript? javascript single line comment javascript comment out block slash comment lines js key slash comment lines js slash comment line js node js comment /** how to make a block of comment in js how to commentout in javascipt comment javascript one line add comments js code multiline comment javscript6 commenting javascript javascript how to comment multiple lines javascript comment command comments in node js multiline comments in javascript how to comment a block of code in javascript javascript multiline comment how to comment line in javascript how to comment lines in javascript javscript comments comments in js comments js comment js comment javascript multiple comments in js insert sql nodejs comment block multiple commments shortcut javascipr comment out in js multiline comment node script javascript comment javacsript comment how to declare comments in js notes in js how to createa comment in js how to uncomment javascript multi line comment javscript javascript comment *** javascript comment seciton short cut to comments all lines at a time in javascript comment out node js how to comment out a block of code in js long comment javascript how to comment out javascript lines how can you add a comment in javascript special comment syntax javascript how to comment the code in javascript multi lines comments documentation javascript javascript how to do a multiline commen node js variables in comments multiple line comment js nodejs comment block comment out javascript block comment js javascript remark block js inline comment nodejs comments how to block comment in javascript how to make a comment reply in javascript Which of the following statements are true about Comments in JavaScript make a multline comment javascript comments with "@" in javascript comment in jquery javascript multiple line comment why use multi line comment with @ in nodejs javascript comment more than one line comment section in js how to long comment in javascript mulit line commetns in js file commetns in js file how to comment a large js code how comment in javascript js comment out comment out code javascript javascript comment notation comment out code js show code with comment javascript print code with comment javascript javascript note js comments tag how to leave comment javascript js comments block how to write comments javascript ` comment in js comment out code in js use @ in comment javascript how to add comments on java script js multi line comment javascript comment start end single line comment and multi line comment in javascript javascript send comment into comment section in html use javascript to add comments to comment section comment is java script how to comment all in js javascriopt comments what is the javascript code for comments uncommenting javascript javascript block coments multilline comment js how to comment out in javascript code comment javascript how to implement comment in javascript comment on jav scripy comment out entire section javascript comment syntax javascript block comment javascript comment line in javascript javascript mujltiple comment lines error after comment in javascript comment js comment multiple lines js multiline comment in node-re commenting in javascrioy end commect javascript javascript comment syntax usuage block comment in javascript java script in-line comment js comment block /** comments js multi comment in javascript commenting line in javascript javascript commets comment in javascript valid ways to comment in Javascript add comment in js multile javascript comment javascript comment tags javascript commenting c# comment typeparam javascript inline comment comment block of code javascript javascript comment out section multi line comments javascript how to make comment in java script multi line comment in js multiline comment in js how to quote out code from Javascript multiline comment in javasript commenting in javascript require js lines commented giving comment in javascript how to write comment on javascript how to comment something out in javascript coometns i js how to comment the lines in js commenting out in javascript java script comments js comment out block javascript js comment tag javascript comments how to comment a section in javascript embed comment javascript comments in javascrtip js block comment comment out lines of code in javascript js multiline comment how to comment out blocks of codein javascript how to comment out code in java script javascript comment out code js multiple line comment how to comment out a block of code in javascript javascript comment out line javascript multi line comments how to add comments in JS /** */ javascript notes in javascript multiline comment javascript how to call comment in javascript comment out chunks of code javascript single line comment in javascript how to comment out javascript code multi line comment in javascript javascript comment using @ types of comment in javascript how to comment for javascript how to comment out code on javascript multiline javascript comment single line coments in js how comment in js coment cod3 in javascript ho to make comments on javascript how to comment javascript code comments javascript how to write multiple line comments in javascript big comments js js conments putting lines of javasciprt in blocks how to add comment in javascript */javascript/* Comments in JS are ignored by javascript other ways to end comment leaving a comment on javascript multiple line comment in js how to create a comment in javascript Javascript comment out lines comments in javascript comments in javascri[t javascript block comment how to comment out a section in javascript how to place comment in javascript comment more than one line in javascript js script comment multi comment javascript how to do multi line comment in javascript how do you make comments in javascript how to make a commpent in js how to comment in javascript ** in javascript comments comments in js js end comment on line stop comment for javascript javascript comment out how to comment out javascript javascript, comment out how to comment multiple lines in javascript javascript multiple line comments node.js multiple line comments multiple line comment in javascript how to commentin js comment multiple lines javascript multi line comment javascript // comment lines javascript // comment javascript JavaScript comment block js comment multiline comment in javascript multi line javascript comment\ javascript comment how to comment out multiple lines in javascript block comments javascript @ block comments javascript
Made with love
This website uses cookies to make IQCode work for you. By using this site, you agree to our cookie policy

Welcome Back!

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign in
Recover lost password
Or log in with

Create a Free Account

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign up
Or sign up with
By signing up, you agree to the Terms and Conditions and Privacy Policy. You also agree to receive product-related marketing emails from IQCode, which you can unsubscribe from at any time.
Creating a new code example
Code snippet title
Source