dsplit: Parse directives (#-lines)