getComments

abstract fun getComments(path: String): List<String>

Returns the YAML comments above the given path, or an empty list if none.