What's your trick to document (in the UI?) variables overridden in settings.php?
You could implement a hook_help that displays a message on the page where you would set the variable. Would still need to do it manually per variable though.