Reputation: 1215
Is there any way to write a several-lines comment in Wasm
(wat
)? I know that ;;
is used for a one-line comment.
Upvotes: 5
Views: 691
Reputation: 1579
Yes there is, it is (; ;)
: These comments can also be nested.
(;
my
multi (; line ;)
comment
;)
It is written in the specification Section 6.2.4 (Text Format - Lexical Format - Comments).
Upvotes: 7