remove_comment


Description:

public void remove_comment (string group_name, string key) throws KeyFileError

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.

Parameters:

this

a key file

group_name

a group name, or `NULL` to get a top-level comment

key

a key, or `NULL` to get a group comment

Returns:

true if the comment was removed, false otherwise