Comment
// Hello, World! This is my comment/*
Hello, this is my multi-line comment.
I can use this to quickly mark out blocks of code
or to just write longer messages.
*//*
This comment does not have an ending,
but it will work.
This is because comments will continue to
the EOF if it can't find a `/*`/*
This is an example of nested comments.
If there is another multiline comment
within this one. It won't close this comment
/*
This is another coment
*/
This comment is still going as the previous `*/`
did not close this comment.
Note: the `*/` before has a zero-width space
between the * and /.
This is why the comment didn't end
*/
Note::Stability
Last updated
Was this helpful?