// 单行注释 private static void ParseSingleLine(XTJsonReader reader, List <XTJsonComment> doc) { string line = reader.NextLine(); if (doc != null) { doc.Add(new XTJsonComment(XTJsonCommentType.SingleLine, line)); } }