In UQL, single-line comments are written using two forward slashes //. Everything following // on the same line is treated as a comment and ignored during query execution.
UQLn({@User.name == "rowlock"}).re({@Follows}).n({@User} as n) // Retrieves users followed by rowlock return n.name
Multi-line comments begin with a forward slash and asterisk (/*) and end with an asterisk and forward slash (*/), allowing for comments that span multiple lines.
UQL/* This query retrieves users followed by rowlock, and returns all their names */ n({@User.name == "rowlock"}).re({@Follows}).n({@User} as n) return n.name