Added comments generation to WinDX and WinRT platforms.