Add a line comment to the class
@param string $strComment The comment
@return void
13750
public function lineComment ($strComment)
	{
		
		// Add comment
		
		$this->class	.= Comment::lineComment ($strComment, $this->tabCount);
		
		// If auto spaces
		
		if ($this->autoSpaces)
		{
			
			// Add blank line
			
			$this->addLine ();
			
		}
		
	}
145261
public function Comment($Message, $Echo = TRUE) {
		fwrite($this->_File, self::COMMENT.' '.str_replace(self::NEWLINE, self::NEWLINE.self::COMMENT.' ', $Message).self::NEWLINE);
		if($Echo)
			echo $Message, "\n";
	}
1151042
protected void addComment(ProgramElementDoc member, Content htmltree) {
        if (member.inlineTags().length > 0) {
            writer.addInlineComment(member, htmltree);
        }
    }
1243140
public static function starComment ($strComment, $intTabs = 0)
	{
		
		// Set return
		
		$strReturn	= '';
		
		// Split comment into lines
		
		$arrComment		= explode ("\n", $strComment);
		
		// Find the position of the first /
		
		$intFirstSlash	= strpos ($arrComment[0], '/');
		
		// Set prefix
		
		$strPrefix		= ($intFirstSlash)? substr ($arrComment[0], 0, $intFirstSlash) : NULL;
		
		// Clean comment
		
		$strComment		= self::cleanComment ($strComment);
		
		// Split comment into lines
		
		$arrComment		= explode ("\n", $strComment);
		
		// Set the high count
		
		$intHigh	= 0;
		
		// For each line
		
		foreach ($arrComment as $strLine)
		{
			
			// If the length is above the high count
			
			if (strlen ($strLine) > $intHigh)
			{
				
				// Set length as high count
				
				$intHigh	= strlen ($strLine);
				
			}
			
		}
		
		// For each line
		
		foreach ($arrComment as &$strLine)
		{
			
			// Count chars
			
			$strCountChars	= count_chars ($strLine, 3);
			
			// If the comment consists of only -'s
			
			if ($strCountChars == '-')
			{
				
				// Set the line to be -'s
				
				$strLine	= str_repeat ('-', $intHigh);
				
			}
			
		}
		
		// Unset reference
		
		unset ($strLine);
		
		// Set tabs
		
		$strTabs	= str_repeat ("\t", $intTabs);
		
		// Add the first lines
		
		$strReturn	.= $strTabs . $strPrefix . '/****' . str_repeat ('*', $intHigh) . '*****' . "\n" . 
					   $strTabs . $strPrefix . '*    ' . str_repeat (' ', $intHigh) . '    *' . "\n";
		
		// For each line
		
		foreach ($arrComment as $strLine)
		{
			
			// Add to return
			
			$strReturn	.= $strTabs . $strPrefix . '*    ' . str_pad ($strLine, $intHigh) . '    *' . "\n";
			
		}
		
		// Add the last lines
		
		$strReturn	.= $strTabs . $strPrefix . '*    ' . str_repeat (' ', $intHigh) . '    *' . "\n" . 
					   $strTabs . $strPrefix . '*****' . str_repeat ('*', $intHigh) . '****/';
		
		// Return
		
		return $strReturn;
		
	}
1130211
public function addComment($comment)
    {
        if ($this->comments === null) {
            $this->comments = [];
        }
        $this->comments[] = $comment;
    }
441448
public void addInlineComment(Doc doc, Content htmltree) {
        addCommentTags(doc, doc.inlineTags(), false, false, htmltree);
    }
532850
public function commentLine($commentData)
    {
        $command = new Command\Form\CommentLineCommand($commentData);
        $this->getComposite()->addCommand($command);
        return $this;
    }
711728
protected void addComment(String commentText, Writer out) throws IOException {
		StringBuilder sb = new StringBuilder("<script type=\"text/javascript\">/* ");
		sb.append(commentText).append(" */</script>").append("\n");
		out.write(sb.toString());
	}
334512
public function addComment(Comment $comment)
    {
        if (!$this->comments->contains($comment)) {
            $this->comments->add($comment);
        }
    }
496883
public void onComment (@Nullable final String sComment)
  {
    if (StringHelper.hasText (sComment))
    {
      if (isThrowExceptionOnNestedComments ())
        if (sComment.contains (COMMENT_START) || sComment.contains (COMMENT_END))
          throw new IllegalArgumentException ("XML comment contains nested XML comment: " + sComment);

      _append (COMMENT_START)._append (sComment)._append (COMMENT_END);
    }
  }
1088296
private function handleComment(): void
    {
        if ($this->string->isNot(Tokens::SEMICOLON)) {
            return;
        }

        while ($this->string->isNot(Tokens::LINE_FEED) && $this->string->valid()) {
            $this->string->next();
        }
    }
1133994
public function addComment(\Haven\CmsBundle\Entity\Comment $comment)
    {
        $comment->setContent($this);
        $this->comments[] = $comment;

        return $this;
    }
1036303
public function comment($string, $verbosity = null)
    {
        if ($this->display) {
            parent::comment($string, $verbosity);
        }
    }
532755
public function phpdocComment ($strComment)
	{
		
		// Add comment
		
		$this->class	.= Comment::phpdocComment ($strComment, $this->tabCount);
		
		// If auto spaces
		
		if ($this->autoSpaces)
		{
			
			// Add blank line
			
			$this->addLine ();
			
		}
		
	}
1009996
public function addStmt($stmt)
    {
        if (method_exists($stmt, 'isMixinCode')) {
            $name = strval($stmt->getName());
        } else {
            $stmt = self::getStmtNode($stmt);
            $name = isset($stmt->name) ? strval($stmt->name) : null;
        }
        $type = $stmt->getType();
        switch ($type) {
            case 'Stmt_Namespace':
                $this->namespaces[$name] = $this->offset;
                break;
            case 'Stmt_Class':
            case 'Stmt_Interface':
            case 'Stmt_Trait':
                $stmt = new Code\ClassCode($stmt);
                // no break
            case 'ClassCode':
                $this->classes[$name] = $this->offset;
                break;
            case 'Stmt_Function':
                $stmt = new Code\FunctionCode($stmt);
                // no break
            case 'FunctionCode':
                $name = strtolower($name);
                $this->functions[$name] = $this->offset;
                break;
        }
        $this->stmts[$this->offset++] = $stmt;
        return $this;
    }
636835
public void addComment(Comment comment) {
        assertNotNull(comment);
        if (comments == null) {
            comments = new TreeSet<Comment>(new AstNode.PositionComparator());
        }
        comments.add(comment);
        comment.setParent(this);
    }
329316
public function addComment(\Gpupo\CommonSchema\ORM\Entity\Trading\Order\Shipping\Comment\Comment $comment)
    {
        $this->comments[] = $comment;

        return $this;
    }