Comments are ignored by the kotlin compiler. comment is a programmer readable explanation about source code that makes source code easier to understand by programmers.
Single-line Comments : Kotlin comments starts with two forward slashes // and end with end of the line
// This is a comment
// Hello World Program
fun main() {
println("Hello World ")
}
Multi-line comments : start with /* and ends with */.
/**
* This is a multi-line comment.
*
*/
fun main() {
println("Hello World ")
}