23 lines
398 B
D
23 lines
398 B
D
void main() {
|
|
// A single line comment.
|
|
|
|
/* This is a simple C-style comment that can't be nested.
|
|
Comments mostly work similar to C, newlines are irrelevant.
|
|
*/
|
|
|
|
/+ This is a nestable comment
|
|
/+ See?
|
|
+/
|
|
+/
|
|
|
|
/// Documentation single line comment.
|
|
|
|
/**
|
|
Simple C-style documentation comment.
|
|
*/
|
|
|
|
/++
|
|
Nestable documenttion comment.
|
|
+/
|
|
}
|