java comments

Java
//This is a comment. It will only span one line

/*This is a 
multi-line comment*/
// Demo types of comments

/* This shows
   that the comment
   can be muilti line */
System.out.println("Hello"); // Inline comment
// This is a single line comment//Single line
System.out.println("Hello world"/*+"The is code commented out in code."*/); //Inline comment
/*
Multi
Line
comment
*/
Source

Also in Java: