Comment

Jmnote bot (토론 | 기여)님의 2020년 11월 2일 (월) 02:31 판 (봇: 자동으로 텍스트 교체 (-source +syntaxhighlight))

1 Bash

# comments
echo "Hello World!" # shows Hello World!
: <<'multiline_comment'
COMMENT LINE 1
COMMENT LINE 2
multiline_comment

2 C

// inline comment
/* Comment */
/*
Comment
*/

3 C++

// inline comment
/* Comment */
/*
Comment
*/

4 C#

// inline comment
/* Comment */
/*
Comment
*/

5 CMD

REM comment

6 HTML

<!-- Comment -->

7 INI

; Comment

8 Lua

-- Comment

9 PHP

bash style + c style

# inline comment
// inline comment
/* Comment */
/*
Comment
*/

10 Python

# inline comment
"""
multiline Comment
"""

11 Perl

# inline comment
=pod
multiline comment
=cut

12 Ruby

# inline comment
=begin
multiline Comment
=end

13 SQL

  • PostgreSQL
-- inline comment
/*
Comment
*/

14 VB

inline only

'Comment
'Comment
Option Explicit
Private Sub Form_Load()
    MsgBox "Hello, World!" ' Comment
End Sub

15 같이 보기

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}