Single-line Comment We can apply comments on a single line by using the // (double-slash) . The single-line comments can be applied until a line break. The // (double-slash) statement is completely ignored by the Dart compiler and retuned the output.
Read moreHow do you comment out multiple lines in darts?
Dart Multi-Line Comment: Dart Multiline comment is used to comment out a whole section of code. It uses ‘/*’ and ‘*/’ to start and end a multi-line comment respectively .
Read more