src/Html/Tags.php
public static function comment(string $text = '', bool $addSpaces = false): string
    {
        $space = $addSpaces === true ? ' ' : '';
        return \sprintf('<!--%s%s%s-->', $space, $text, $space);
    }
public static function comment(string $text = '', bool $addSpaces = false): string
    {
        $space = $addSpaces === true ? ' ' : '';
        return \sprintf('<!--%s%s%s-->', $space, $text, $space);
    }
public static function comment ( string $ text = '' , bool $ addSpaces = false ) : string { $ space = $ addSpaces === true ? ' ' : '' ; return \ sprintf ( '<!--%s%s%s-->' , $ space , $ text , $ space ) ; }
This method returns html comment

@param string $text
@param bool   $addSpaces
@return string
This method returns html comment