A LaTeX command begins with a backslash followed by the command name. Commands can have parameters, which are enclosed by curly braces () as well as optional parameters, which are surrounded by square brackets ().
Any line beginning with the % character is a comment. When LaTeX reads the % character in a file, it treats the rest of that line as a comment. In addition to the comment character, you can use the comment command.