Show/hide individual lines with particular text present/absent

I’m playing around with using Drafts for reusable lists, such as grocery shopping. I’d like to be able to tag lines as done, and then hide those lines. Is that possible?

I’ve found this action to use as a workaround:

There’s no option to hide text in Drafts.

Once marked complete, you could delete those lines. When re-using you just add your list from a template file/draft/action.

… and I bet I can find an action that automatically deletes completed lines. I know there are actions that will move completed lines to the bottom of a draft. Thanks!