[ocpp-hooks] document interface, and better handle comments