Sure, if you want it by ID (which might or might not be good idea, depending on how likely ID will stay same for a long time – no migrations, etc) that would be something like:
if( !is_page(135) ) {
// code goes here
}
See Conditional Tags > Page in Codex for more.
Alternative way would be to do this in some filter, as opposed to editing template files.