Do you mean brackets [ ] or do you mean parentheses ()? If parentheses, then you use end punctuation (a period or a question mark) within the parentheses only the whole sentence is enclosed. Otherwise, not.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.