This is a complete rewrite of the action.
Comments are now identified automatically without the need to hard-code a specific marker (providing it is supported in the syntax.json
file). This means you can remove the COMMENT_MARKER
and LABEL
inputs. Block comments are also now supported.
The code has been tidied up and should be a bit less unwieldy.