To write the code examples in VS use CDATA and it will avoid warnings from StyleCop
Below is example
/// <summary>
/// How to use this method: <![CDATA[ new List<object>() { true, 100 } ]]>
/// </summary>