I have seen here, here and there references to KDoc, the JavaDoc utility equivalent for Kotlin.
However, I cannot find any documentation on how to use it, let alone
It looks like Kdoc was put on the back burner in favour of Dokka. https://github.com/Kotlin/dokka
Source: https://devnet.jetbrains.com/thread/458339;jsessionid=B2038D70DCC9004181B20D6D4EA2B2A3