GLib.KeyFile.prototype.remove_comment
function remove_comment(group_name: String, key: String): Boolean { // Gjs wrapper for g_key_file_remove_comment() }
Removes a comment above key from group_name. If key is null then @comment will be removed above group_name. If both key and group_name are null, then @comment will be removed above the first group in the file.
Since 2.6
- group_name
a group name, or null
- key
a key
- Returns
true if the comment was removed, false otherwise