Answers for "javascript comment syntax"

32

javascript comment

//This is a javascript single line comment

/*
And here is a
multiline comment
*/
Posted by: Guest on June-27-2019
4

javascript comment

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

/* CSS comment 
	any line */

<!-- HTML comment
 	any line -->
Posted by: Guest on April-19-2021
8

comment out in javascript

<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>
Posted by: Guest on March-02-2020
6

comment out in javascript

<script type="text/javascript">
<!--
// This is a single line JavaScript comment

document.write("I have comments in my JavaScript code!");
//document.write("You can't see this!");
//-->
</script>
Posted by: Guest on March-02-2020
1

javascript comment

// For single line comment

/* For block of lines comment
...
...
*/
Posted by: Guest on March-01-2021
0

javascript comment syntax

// single-line comment

/*
Comment with
multiple lines
*/
Posted by: Guest on July-11-2021

Browse Popular Code Answers by Language