In ASCEND syntax, comments can be written within the special delimiters (* and *).
(* This model is very useless, because it doesn't have any equations in it yet. *) MODEL mymodel; d IS_A distance; (* pipe diameter *) h IS_A distance; (* change in height *) END mymodel;
Comments can be nested. This can be useful, in particular, for temporarily removing parts of the model, e.g. during testing/debugging.
MODEL mymodel; d IS_A distance; (* pipe diameter *) (* h IS_A distance; (* change in height *) --we don't need this any more *) END mymodel;
Note that in some text-editors, nested comments can confuse the syntax highlighting, but regardless of that, the nested comments will work correctly in the ASCEND parser.