def comment_text
import bend-lint-rules@0.2.0.0/layout/format.bend as Formatimport Base
1427def comment_text(text: String, keep: String) -> String:
1428 match text:
1429 case SCon{'#', +rest}:
1430 comment_text.after(rest, rest)
1431 case _:
1432 keep