Share via


Comments ("M" Reference)

[This content is no longer valid. For the latest information on "M", "Quadrant", SQL Server Modeling Services, and the Repository, see the Model Citizen blog.]

Two forms of comments are supported: single-line comments and delimited comments.

Syntax

// single line comment

or

/* First comment line 1

More Comments

Last comment line */

Discussion

Comment out a single line with //.

Comment out multiple lines beginning with /* and ending with */.

Comments cannot be nested.

Comments are not processed within Text literals.

Examples

Single-line Comment

module Northwind {
// This defines a 
//   Person entity
   type Person  
    {  
        Name : Text;
        Age : Integer32;
    }
}

Multi-line Comment

module Northwind 
{
/* This defines a 
   Person entity
*/
    type Person  
    {
        Name : Text;
        Age : Integer32;
    }
}