2
votes

According to here it states:

Comments

The multiline comments are enclosed within curly brackets and asterisks as (* ... *). Pascal allows single-line comment enclosed within curly brackets { ... }.

(* This is a multi-line comments
  and it will span multiple lines. *)

{ This is a single line comment in pascal }

I had been uses { ... } with multiple lines. It seems OK in Inno Setup Code section. But is it bad syntax?

1

1 Answers

1
votes

That article is wrong. Both (* ... *) and { ... } are multi-line comments and they are equivalent.

A single line comment in Pascal (Script) starts with //:

// Single line comment

See https://www.freepascal.org/docs-html/ref/refse2.html