I agree that you can't make your raw XML comments look especially pretty, but I usually try to make mine produce good-looking comments in the Object Browser window, and in IntelliSense, without worrying as much about their appearance in the source code. Therefore, I'd probably write your method and comments something like this:
/// <summary>
/// Casts two unsigned integers to signed integers
/// and compares them
/// </summary>
/// <param name="arg1">Left side of inequality</param>
/// <param name="arg2">Right side of inequality</param>
/// <returns><para>
/// LESS_THAN iff <paramref name="arg1"/>
/// < <paramref name="arg2"/>
/// </para><para>
/// GREATER_THAN iff <paramref name="arg1"/>
/// > <paramref name="arg2"/>
/// </para><para>
/// EQUAL_TO iff <paramref name="arg1"/>
/// == <paramref name="arg2"/>
/// </para></returns>
private static Inequality Compare(
uint arg1, uint arg2)
{
var int1 = (int)arg1;
var int2 = (int)arg2;
return int1 < int2
? Inequality.LESS_THAN
: int1 > int2
? Inequality.GREATER_THAN
: Inequality.EQUAL_TO;
} // end: Compare()
In the Object Browser window, this method's documentation would look something like this:
private static ...Program.Inequality Compare(uint arg1, uint arg2)
Member of ...Program
Summary:
Casts two unsigned integers to signed integers and
compares them
Parameters:
arg1: Left side of inequality
arg2: Right side of inequality
Returns:
LESS_THAN iff arg1 < arg2
GREATER_THAN iff arg1 > arg2
EQUAL_TO iff arg1 == arg2