
Nathan S. answered 06/07/21
Tutor with a over a decade of IT experience
You can comment out a single statement using two dashes. For example:
--select * from Students where state = 'GA';
You can have an in-line comment by placing two dashes in a line telling the interpreter to ignore the rest of the statement
select * from Students --where state = 'GA';
You can also have multi-line comments or comment out a specific part of a statement using /* .. */. The interpreter ignores everything in between /* */.