Improve warning when commenting parent class member.

As suggested by Meg.