[Issue #264] Fix comments being treated as strings in `sp--do-action-p`