Comments in kickstart files

In my cobbler environment, after modifying a working kickstart I get the following error when trying to use it
dracut-initqueue[987]: Warning: no suitable images
dracut-initqueue[987]: Warning: could not boot

If (from another machine) I

curl http://cobbler-server/cblr/svc/op/ks/system/newsystem01

I get the below output

# This kickstart had errors that prevented it from being rendered correctly.
# The cobbler.log should have information relating to this failure.

There’s actually nothing in cobbler.log about kickstarts
cobbler validateks /var/lib/cobbler/kickstarts/my-new-ks.cfg
doesn’t show anything useful either

Turns out, kickstarts require a space after comment hashes

i.e.

# Comment --> OK
#Comment --> Bad

Once I adjusted the hashes, it worked fine