2018年10月22日 星期一

Comment syntax(程式的註解)

Bash
#This is a comment.

PHP 
// This is a single-line comment.
# This is also a single-line comment.

/*
This is a multiple-lines comment block.
*/

Python
# This is a comment.

""" 
This is a multiple-lines comment block.
"""
 

HTML 
<!--This is a comment.-->
 

Jacascript
// This is a single-line comment./*
This is a multiple-lines comment block.
*/

CSS

/*
This is a multiple-lines comment block.
*/

Perl
#This is a comment. 

C
 /* This is a comment.*/

C++
 // This is a single-line comment.