ROOT-6026: handle Doxygen I/O comments correctly