That was totally Tony's inner geek acting up and letting Peter go at the "You're a nerd who finally got a hot girl" line.
Know what needs to be posted (if it hasn't already been)? The conversation between Peter and Invincible over while 'Vince isn't surprised Peter is married to someone like Mary Jane.