This is the old style of commenting in Pascal. It is not used much anymore, but it still works if you’d prefer to use this method.
(*Comment*)
The Turbo style comment can be used for multiple lines.
{ Comment }
The Delphi comment is good to use for a single line.
// This comments the whole line
You can also do nested comments, as shown below. There are several different ways to do this.
{ First Comment (* second comment *) }
(* First Comment { second comment } *)
{ first comment // Second Comment }
(* first comment // Second Comment *)
// first comment (* second comment *)
// first comment { second comment }
The nested comments that start with
//
should be in one line. It will be invalid otherwise.