/*There are two types of comments:
1) Spans over multiple lines - Multiple-line comment
2) Spans over one line only - Sinlge-line comment
*/
/* There are two ways to write a single-line comment:
1) Using double slash
2) Using the hash tag
*/
// This is an example of single-line comment using double slash
# This is an example of single-line comment using hash tag
/*There is only one way of using multiple line comments, startin with the
slash and asterisk respectively, and ending with asterisk and slash
respectively */
//For a single line comment use //:
//this is a comment too
//for multi-line comments use /* and */:
/* <--start of multi-line comment
this is a comment
this is a comment too (end of multi-line comment)-->*/
/**
* This function compiles a message that tells you how great coffee is
*
* @param string $compliment A nice word to describe coffee
* @param integer $score A score out of 10
*/
Answer: Use the Syntax "// text" (single line) and "/* text */"
(multi-line)
/**
* Summary.
*
* Description.
*
* @since x.x.x
*
* @see Function/method/class relied on
* @link URL
* @global type $varname Description.
* @global type $varname Description.
*
* @param type $var Description.
* @param type $var Optional. Description. Default.
* @return type Description.
*/
//
/*
*/