Custom CSS Error - Online Store editor session can't be published

I was having this issue. I had some custom css code that I commented out in the editor panel.

Once I deleted that css code I was able to publish.