function hasCommentInBlock(block) {
    for (var i = 0; i < block.childElements.length; i++) {
        if (block.childElements[i].isComment) {
            return true;
        }
    }
    return false;
}
Requires blocks to begin and end with a newline

Types: `Boolean`, `Integer`, `Object`

Values:
 - `true` validates all non-empty blocks
 - `Integer` specifies a minimum number of lines containing elements in the block before validating
 - `Object`:
     - `'includeComments'`
         - `true` includes comments as part of the validation
     - `'minLines'`
         - `Integer` specifies a minimum number of lines containing elements in the block before validating

#### Examples

```js
"requireBlocksOnNewline": true
"requireBlocksOnNewline": 1
"requireBlocksOnNewline": {
     "includeComments": true
}
"requireBlocksOnNewline": {
     "includeComments": true,
     "minLines": 1
}
```

##### Valid for mode `true`

```js
if (true) {
    doSomething();
}
var abc = function() {};
// or
if (true) { //comments
    doSomething();
}
var abc = function() {};
// or
if (true) {
    doSomething();
/** comments *\/
}
var abc = function() {};
```

##### Invalid

```js
if (true) {doSomething();}
```

##### Valid for mode `1`

```js
if (true) {
    doSomething();
    doSomethingElse();
}
if (true) { doSomething(); }
var abc = function() {};
// or
if (true) { //comments
    doSomething();
    doSomethingElse();
}
if (true) { doSomething(); }
var abc = function() {};
```

```js
if (true) {
    doSomething();
    doSomethingElse();
    /** comments *\/
}
if (true) { doSomething(); }
var abc = function() {};
```

##### Invalid

```js
if (true) { doSomething(); doSomethingElse(); }
```

##### Valid for mode `{ includeComments: true }`

```js
if (true) {
    //comments
    doSomething();
}
var abc = function() {};
// or
if (true) {
    doSomething();
     //comments
}
var abc = function() {};
```

##### Invalid

```js
if (true) { //comments
    doSomething();
}
var abc = function() {};
// or
if (true) {
    doSomething();
/** comments *\/}
var abc = function() {};
```

##### Valid for mode `{ includeComments: true, minLines: 1 }`

```js
if (true) {
    //comments
    doSomething();
    doSomethingElse();
}
if (true) { doSomething(); }
var abc = function() {};
// or
if (true) {
    doSomething();
    doSomethingElse();
    //comments
}
if (true) { doSomething(); }
var abc = function() {};
```

##### Invalid
```js
if (true) { //comments
    doSomething();
    doSomethingElse();
}
if (true) { doSomething(); }
var abc = function() {};
// or
if (true) {
    doSomething();
    doSomethingElse();
    /** comments *\/}
if (true) { doSomething(); }
var abc = function() {};
```