When the cursor is in a current dataview codeblock or inline query, the command should convert it into serialized form (via HTML comments) and serialize it.
Would be a nice to have! Not urgent though. And also could probably be accomplished by a Templater template for now or something like that.