Are you adding this in a child theme’s functions.php file? From what I read, you can use these empty functions to accomplish what you want.
function childtheme_override_nav_above() { }
function childtheme_override_nav_below() { }
http://themeshaper.com/forums/topic/how-to-remove-nav-from-single-post#post-17191