Comment

Jmnote bot (토론 | 기여)님의 2019년 2월 3일 (일) 03:43 판 (봇: C 제거)

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 같이 보기