JavaScript has two styles of comments in source

// This is a single-line comment
 
/*
   This is a multi-line comment
   neither of these comments will execute
   as code
*/