Component
Forge
Have you ensured that all of these are up to date?
What version of Foundry are you on?
1.5.1-nightly
What version of Foundryup are you on?
1.5.0
What command(s) is the bug in?
forge script
Operating System
macOS (Apple Silicon)
Describe the bug
Using the Config contract (as explained here) to update a value in a toml file will erase any comments present in there.