Comments

BeanShell allows two types of comments. Block comments begin with the /* symbol pair and end with the */ symbol pair. Any amount of content spanning any number of lines may be included in the block comment, except for the */ symbol pair. For this reason, block comments cannot be nested within other block comments.

Line end comments start with a // symbol pair and continue to the end of the line that they are on. The // pair and all following text is ignored. Line ending comments may be nested within block comments or other line ending comments.