In MySQL, comments can also be placed in the SQL queries. Comments can be of single line or multiple lines.
There are three types in which comments can be written:-
# comment goes here
select *from # JAVATPOINT student_1;
comment goes here
select *from -- JAVATPOINT student_1;
/* comment goes here */
select *from student_1 /* JAVATPOINT.com */;