Commenting Styles and Syntax

There are three ways to indicate a comment in Alloy:

For example, in the following text, the c's are commented text, and the A's are uncommented Alloy code:

AA AA AAAAA AA AA
AAAAA //cccccccc
AAAA AA AA AAA AA --cccccccc

/* cc cccccc
ccccccc
ccccc */

AA AAA AAA AAAAA
AAAAAA AA AA /* c cc cccc */ AA AAAA /*ccc*/ AAA A AAAA

/*
 * ccc c ccc cc ccccc
 * ccccccc cccccc-ccc
 */

AAAAAA
-- cccccc
--ccccc
AAAAAAA A AA A
// ccccc
//ccccc
AAA AAAA AA A A A