public static void UnCommentXElmenet(this XDocument xd, XComment xc) { XElement xe = xc.UnCommentXElmenet(); if (xe != null) { xc.ReplaceWith(xe); } }