DEV Community

2025
2025

Posted on

Syntax of comments in dart

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)

Qodo Takeover

Introducing Qodo Gen 1.0: Transform Your Workflow with Agentic AI

Rather than just generating snippets, our agents understand your entire project context, can make decisions, use tools, and carry out tasks autonomously.

Read full post

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay