Either a comma or parentheses are what would make the difference.
I will tell the students whom I married.
Now the students know who was at your wedding.
I will tell the students, whom I married.
I will tell the students (whom I married).
You’re only telling something to the students that you married.
Do you also travel around in an unmarked van?