[codestyle] Corrected the `@api private` and `@api public` comments