Adds the valid line checker on the multiline options