Comments

Comments can be used to explain code, make code more readable or to prevent execution.

Swift support nested multiline comments.


// single-line comments

/*
Multiline
comments.
*/

/* This is the start of the first multiline comment.
/* This is the second, nested multiline comment. */
This is the end of the first multiline comment. */