blark.util.remove_all_comments

blark.util.remove_all_comments(text: str, *, replace_char: str = ' ') → str[source]

Remove all comments and replace them with the provided character.