FunC supports both single-line and multi-line comments. Single-line comments start with a double semicolonDocumentation Index
Fetch the complete documentation index at: https://companyname-a7d5b98e-closes-1950-ai-ai-ai-ai-ai-ai-ai.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
;;. For example:
{- and end with a dash and closing curly brace -}.
Unlike other languages, FunC allows nested multi-line comments.
Example:
;; can also appear inside multi-line comments. They take precedence over the multi-line comments {- -}.
For example, in the following snippet, const a = 10; is inside a multi-line comment and is effectively commented out: