function validateHeader( comment ) {
		var missing;
		var prev;
		var next;
		var line;
		var msg;

		line = comment.loc.start.line;
		missing = 0;

		// Always require preceding empty line except at beginning of file:
		prev = source.lines[ line-2 ];
		if ( prev && prev !== '' ) {
			missing += 1;
		}
		prev = source.lines[ line-3 ];
		if (
			// Do not require empty lines at the beginning of files:
			prev &&
			prev !== '' &&

			// Allow one empty line after strict directive:
			prev !== '\'use strict\';' &&

			// Allow one empty line after multi-line comment
			!endsWith( prev, '*/' ) &&

			// Allow one empty line after single-line comment
			!startsWith( prev, '//' )
		) {
			missing += 1;
		}
		if ( !missing ) {
			// Ensure that there are not too many empty lines:
			prev = source.lines[ line-4 ];
			if (
				prev &&
				prev === '\'use strict\';'
			) {
				msg = 'Header comments must be preceded by only one empty line if they follow the `use strict` directive';
				return report( msg, comment.loc );
			}
		}

		if ( missing ) {
			msg = 'Header comment must be preceded by '+NUMBER_LITERALS[ missing ]+' additional empty line';
			if ( missing === 2 ) {
				msg += 's';
			}
			return report( msg, comment.loc );
		}
		next = source.lines[ line ];
		if ( next !== '' ) {
			return report( 'Header comment must be followed by an empty line', comment.loc );
		}
	}
Checks whether a section header comment is padded by empty lines.

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