public static void clearCommentForSingleNode(Node node, CompoundUndoable undoable) {
		int oldValue = node.getCommentState();
		int newValue = Node.COMMENT_INHERITED;
		
		if (oldValue != Node.COMMENT_INHERITED) {
			node.setCommentState(Node.COMMENT_INHERITED);
			undoable.addPrimitive(new PrimitiveUndoableCommentChange(node, oldValue, newValue));
		}
				
		for (int i = 0, limit = node.numOfChildren(); i < limit; i++) {
			clearCommentForSingleNode(node.getChild(i), undoable);
		}
	}