Can you explain XML comments in VS?

I have an enum class with over 100 members which I want to group into sections by using XML comments (so that I can see into what section that member belongs).

but problem is when I hoover over that class members in some method for example it says that 'doc' end tag does not match starting tag...

for example here is reduced version:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
	enum class MyEnum
	{
		///<needsSelection>
                memberX = 1,
                 /// ...
		///</needsSelection>

		///<hasSelection>
		///<fieldNameContinues>
		Column1 = 38,
		Column2,
		Column3
                // ...
		///</fieldNameContinues>

                member 99
                // ...
                member 134
		///</hasSelection>
	};

What is wrong with those comments? and why do get that error when hoover over the memobers in other code?

Thank you.
Topic archived. No new replies allowed.