I missed your original query. Have you considered using drawers? I use these instead of inline tasks for "inputs" of the type you describe. You can control their export using the d: option.
-- Eric S Fraga via Emacs 27.0.50, Org release_9.2.3-327-g3375f0