The format used to write documentation comments for Kotlin declarations is similar to Java’s Javadoc and is called KDoc . Just as in Javadoc, KDoc comments begin with /** and use tags starting with @ to document specific parts of a declaration.
Read moreDoes JavaDoc work with Kotlin?
The language used to document Kotlin code (the equivalent of Java’s JavaDoc) is called KDoc . In its essence, KDoc combines JavaDoc’s syntax for block tags (extended to support Kotlin’s specific constructs) and Markdown for inline markup.
Read more