<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def set_comment(self, key_name, new_comment):
 """Sets the comment of key."""

        kf = self.dct[key_name]
        kf['comment'] = new_comment