Comments: Difference between revisions

Content added Content deleted
(Add ed example)
Line 1,009: Line 1,009:
*/
*/
Int i = 0; // This is an end-of-line comment
Int i = 0; // This is an end-of-line comment
</syntaxhighlight>

=={{header|ed}}==

<syntaxhighlight lang="sed">
# A single-line comment.
# The only type of comment, really.
# No block comments in ed
</syntaxhighlight>
</syntaxhighlight>