KOTS doesn't recognise YAML files if they have comments at the beginning

We were trying to deploy heartbeat in a DigitalOcean Managed Kubernetes cluster(v 1.18.8).It is found that whenever there is a comment on top of the YAML files KOTS doesn’t include the YAML definition as shown in the screenshot. The same work s fine if the comments are removed.

Not sure when, but this has been fixed: