EzConfig can be used to manage a configuration file with OCaml lexing conventions (string escaping, comments). It was initially used by MLdonkey and is close to ocaml-config.
Website: https://ocamlpro.github.io/ez_config
General Documentation: https://ocamlpro.github.io/ez_config/sphinx
API Documentation: https://ocamlpro.github.io/ez_config/doc