public static void toggleCommentInheritanceForSingleNode(Node node, CompoundUndoable undoable) {
		int oldValue = node.getCommentState();
		int newValue = Node.COMMENT_INHERITED;
		boolean isComment = node.isComment();
		
		if (oldValue == Node.COMMENT_INHERITED) {
			if (isComment) {
				node.setCommentState(Node.COMMENT_TRUE);
				newValue = Node.COMMENT_TRUE;
			} else {
				node.setCommentState(Node.COMMENT_FALSE);
				newValue = Node.COMMENT_FALSE;
			}
								
		} else {
			node.setCommentState(Node.COMMENT_INHERITED);
		}
				
		undoable.addPrimitive(new PrimitiveUndoableCommentChange(node, oldValue, newValue));
	}