setComments

abstract fun setComments(path: String, comments: List<String>)

Replaces the comment lines of the key at path. Entries containing line breaks are split into several lines. Applied on the next save.