The main problem seems to be that you have a line break in one of your comments:
# ----------------------------------------------------------- SSL X-Pack
Configuration---------------------------------------------------------------
This means that the second line starts with Configuration, which is not valid config and is not preceded by a #. If you remove the newline between SSL X-Pack and Configuration so they end up on a single line I think you should be fine. Note that you have this happen in two places.