DEV Community

Coder
Coder

Posted on

Syntax of comments

void main() {
  print('Hello World!');
// this is a single line comment
//now i learned about the  syntax of commnets in dart
/* 
  this is a multiline comment
  i can write anything here
  and it will not be executed
*/
/// this is a documentation comment
}

Enter fullscreen mode Exit fullscreen mode

I understood

Top comments (0)

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up