Title here
Summary here
There are two types of comments in Solar: single and multi-line comments. Single-line comments are started two consecutive forward slashes with no whitespace between (//), and end at the end of the current line of code. Multi-line comments are started by using a forward slash and an asterisk consecutively, with no whitespace between (/*), and ends when a corresponding asterisk and forward slash combination is found (*/). Not providing a ending for a multi-line comment will result in the rest of the contents being marked as a comment, and is not recommended.
// This is a single-line comment. This comment ends at the end of the current line.
let x = a + b; // Single-line comments are also allowed to be used on the same line as other code.
/*
This is a multi-line comment. It ends when the corresponding asterisk and forward slash combination is found.
This is also a part of the same multi-line comment!
*/
let y /* Multi-line comments can also be used as inline comments. */ = x ^ b;