Multiple lines can be commented as well using a comment block. The text in between /* and */ will be commented.
CREATE TABLE Students
/* A table named Students
with Primary Key as Id
will be created */
(
Id INT PRIMARY KEY,
Name VARCHAR(50) NOT NULL,
Address VARCHAR(40) NOT NULL,
/*Only the phone number accepts null value */
Phone INT
)
Creates the Students table. The lines of text after /* and before the very next */ are comments and will not be evaluated by the SQL Server.