def compact_strings(lines, options):
    """Remove empty and remarked lines."""
    if options["compact"]:
        return "".join([x for x in lines if not (x == "\n") and not x.startswith("#")])
    return "".join(lines)