Is your feature request related to a problem? Please describe.
Code comments are a basic feature present in every programming language. MongoDB migrations are written in JSON format. That's why one can't simply write comments to make the migration code more readable. It might be super handy to provide some context, examples, and notes for a complex migration script.
Describe the solution you'd like
Support JSON extension like JSONC or JSON5.
Describe alternatives you've considered
adding $comment to the migration query. It's not that convenient (e.g. long multi-line descriptions will look ugly)
writing migrations in JSONC and convert to JSON files before applying.
Is your feature request related to a problem? Please describe. Code comments are a basic feature present in every programming language. MongoDB migrations are written in JSON format. That's why one can't simply write comments to make the migration code more readable. It might be super handy to provide some context, examples, and notes for a complex migration script.
Describe the solution you'd like Support JSON extension like JSONC or JSON5.
Describe alternatives you've considered
Additional context