'Set/update the comment on specified card or cards.
Slice/filter updates work similarly to how Header.__setitem__ works.'

def __setitem__(self, item, comment):

    if self._header._set_slice(item, comment, self):
        return
    idx = self._header._cardindex(item)
    value = self._header[idx]
    self._header[idx] = (value, comment)
