Sometimes I see code like this:
LRESULT OnPaint(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/)
Why comment pa
If the parameters are really not needed, you don't need to name them
If you don't name them, at first glance you may not understand why they are there in the first place.
If you name them, some compilers will you warn you about unused parameters.
Leaving the names as comments is a middle ground between the two approaches.