No it doesn't give you another bonus action. The optional part is that if you haven't used your bonus action that turn you can still use it after the action surgeAction Surge (AS).
soSo it could be:
- Action ->→ Bonus Action ->→ -AS-AS Action
- Action ->→ -AS-AS Action ->→ Bonus Action
To quote the rules:
You can take only one bonus action on your turn, so you must choose which bonus action to use when you have more than one available.