Slide 2 of 37

Comments

proc main(): void {
	// A comment. The whole line, and nothing of the next.
	x := 1 // ...or the tail of one.
	echo x
}
A comment runs from // to the end of the line, and nothing more. There is no block comment form in Hive itself — inside a query body, which is SQL rather than Hive, SQL's own -- and /* */ are recognised instead.