function validateHeader( comment ) {
		var val = comment.value;

		if ( isUppercase( val ) ) {
			if ( endsWith( val, '//' ) ) {
				if ( val[ 0 ] !== ' ' || val[ val.length-3 ] !== ' ' ) {
					return report( 'Header title must be padded by exactly one space after and before comment slashes', comment.loc );
				}
				val = val.substring( 1, val.length-3 );
				if ( contains( val, ' ' ) ) {
					return report( 'Header title must be padded by exactly one space after and before comment slashes and should not contain any other spaces', comment.loc );
				}
				if ( !contains( HEADERS, val ) ) {
					report( 'Invalid header comment type (must be any one of '+HEADERS.join( ', ' )+'). Value: "'+val+'"', comment.loc );
				}
			} else {
				report( 'Header comment must end with two trailing slashes', comment.loc );
			}
		} else {
			report( 'Header comment must be in capital letters', comment.loc );
		}
	}
Checks whether a section header comment is properly formatted.

@private
@param {string} comment - literal value of comment
@returns {void}