To answer your question: No, this does not happen.
But I do not share your opinion that there should be something like that. In the end, the function declaration will be displayed along with its documentation, so that everyone can see that b is optional, and that this is the default argument. For \fn see the doxygen documentation that prevents the use of \ fn .
source share