This would be a major breaking change of the flow file format, so not something we can consider lightly.
We've discussed a few variations of this type of thing in the past, but not to any definitive conclusion.
Another common request is to be able to natively split the flow file up into a file per tab and to support saving function/template code in their own files.
It's something I'd like to evaluate for Node-RED 4.0 this summer.