公式注释是包含在某一公式中的注释,用以解释其设计和操作。注释不打印出来,并且不影响公式;它们只出现在公式编辑器中。使用注释解释公式的目的或解释编写公式所涉及的步骤。
注释以两个反斜线 (//) 开始,后面是注释文本。同一行中斜杠后面的所有文字都被看作是注释的一部分:
//This formula returns the string "Hello" //This is another comment "Hello" //Comments can be added at the end of a line //Comments can occur after the formula text